package com.shs.sys.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: jxm
 * @Description:shiro常量属性配置
 * @Date: 2020/4/8 23:02
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "shiro")
public class ShiroProperties {

    private String hashAlgorithmName="md5";
    private Integer hashIterations = 2;
    private String loginUrl;
    private String unauthorizedUrl;
    //设置放行路径
    private String [] anonUrls;
    //设置登出的路径
    private String logoutUrl;
    //设置拦截路径
    private String [] authcUrls;


}
